package com.penglecode.java7.features.syntax;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;

/**
 * Java7中可以一次捕获多个异常
 * 
 * @author pengpeng
 * @date 2013-7-23上午10:38:16
 * @version 1.0
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
@SuppressWarnings("all")
public class MultiExceptionCatchTest {

	public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new FileReader(""));   
			Connection con = null;   
			Statement stmt = con.createStatement();
		} catch (FileNotFoundException | SQLException e) {
			e.printStackTrace();
		}
	}

}
